using System;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using System.Threading.Tasks;

[assembly: XamlCompilation (XamlCompilationOptions.Compile)]
namespace AsyncVoid
{
	public partial class App : Application
	{
		public App ()
		{
			InitializeComponent();

            var scheduler = TaskScheduler.FromCurrentSynchronizationContext();

            AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
			MainPage = new MainPage();
		}

        private void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
        {
        }

        protected override void OnStart ()
		{
			// Handle when your app starts
		}

		protected override void OnSleep ()
		{
			// Handle when your app sleeps
		}

		protected override void OnResume ()
		{
			// Handle when your app resumes
		}

	}
}
